package tasarim_prensipleri;

public class test {
	public static void main(String[] args) {
       Printer multi = new MultiPrinter();
	   multi.setFax(new FaxImpl());
	   multi.fax();
	   
	   Printer laser = new LaserPrinter();
	   laser.setFax(new NoFaxImpl());
	   laser.fax();
	}
}
